package com.inspur.his.service.impl;

import com.inspur.his.mapper.MemberMapper;
import com.inspur.his.mapper.RenShiMapper;
import com.inspur.his.pojo.Member;
import com.inspur.his.pojo.RenShi;
import com.inspur.his.service.MemberService;
import com.inspur.his.service.RenShiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

@Service("renshiService")
public class RenShiServiceimpl implements RenShiService {

    @Autowired
    private RenShiMapper renShiMapper;


//条件查询 分页
    @Override
    public List<RenShi> renShiInList(HashMap map) {
        return renShiMapper.renShiInList(map);
    }

    @Override
    public void save(RenShi renShi) {
        renShiMapper.save(renShi);

    }

    @Override
    public void updateRenShi(RenShi renShi) {

    }

    @Override
    public void renShiDetailUpdate(RenShi renShi) {

    }

    @Override
    public RenShi findById(RenShi renShi) {
        return null;
    }

    /**
     *
     * @param docId
     * @throws Exception
     */
    @Override
    public void delete(String docId) throws Exception {
        renShiMapper.delete(docId);
    }


}




